home *** CD-ROM | disk | FTP | other *** search
/ kermit.columbia.edu / kermit.columbia.edu.tar / kermit.columbia.edu / newsgroups / misc.20000217-20000824 / 000189_news@columbia.edu _Mon Apr 10 20:06:14 2000.msg < prev    next >
Internet Message Format  |  2000-08-23  |  2KB

  1. Return-Path: <news@columbia.edu>
  2. Received: from newsmaster.cc.columbia.edu (newsmaster.cc.columbia.edu [128.59.59.30])
  3.     by watsun.cc.columbia.edu (8.8.5/8.8.5) with ESMTP id UAA19303
  4.     for <kermit.misc@watsun.cc.columbia.edu>; Mon, 10 Apr 2000 20:06:13 -0400 (EDT)
  5. Received: (from news@localhost)
  6.     by newsmaster.cc.columbia.edu (8.9.3/8.9.3) id TAA21593
  7.     for kermit.misc@watsun.cc.columbia.edu; Mon, 10 Apr 2000 19:56:57 -0400 (EDT)
  8. X-Authentication-Warning: newsmaster.cc.columbia.edu: news set sender to <news> using -f
  9. From: "Steve" <steve@baus-systems.com>
  10. Subject: Ctrl-C exit VS. Fin
  11. Message-ID: <nTtI4.129562$Pa1.3413508@news6.giganews.com>
  12. Organization: Giganews.Com - Premium News Outsourcing
  13. Date: Mon, 10 Apr 2000 17:02:51 -0700
  14. To: kermit.misc@columbia.edu
  15.  
  16. I am attempting to write a VB program that wants to call K95 simply to
  17. receive files.
  18.  
  19. Something similiar to this:
  20. Do While True
  21.     'Wait to recv file 1
  22.     Call K95_Server
  23.  
  24.     If Ctrl-C exit
  25.         Quit
  26.     EndIf
  27.  
  28.     If FileExists(file1)
  29.         'Wait to recv file2
  30.         Call K95_Server
  31.         If FileExists(file2)
  32.             Process file2
  33.         EndIf
  34.     EndIf
  35. Loop
  36.  
  37. The problem is I can not come up with a way for the VB code to determine if
  38. K95 was truely exited by a users at that PC doing a CRTL-C and not a Fin
  39. from the sending computer or any timeout / abort / too many retries etc.
  40. Since there could be a timeout, simply checking for the existance of file1
  41. will not work.
  42.  
  43. We are using a function that will keep the application from continuing past
  44. the K95 server until it is finished but it does not return a value that
  45. tells how K95 was exited.
  46.  
  47. Anyone run into this?
  48. Steve
  49.